package com.yic.module.base.convert.center;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import com.yic.module.base.api.center.dto.CenterRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.base.controller.admin.center.vo.*;
import com.yic.module.base.dal.dataobject.center.CenterDO;

/**
 * 工作中心 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface CenterConvert {

    CenterConvert INSTANCE = Mappers.getMapper(CenterConvert.class);

    CenterDO convert(CenterCreateReqVO bean);

    CenterDO convert(CenterUpdateReqVO bean);

    CenterRespVO convert(CenterDO bean);

    List<CenterRespVO> convertList(List<CenterDO> list);

    PageResult<CenterRespVO> convertPage(PageResult<CenterDO> page);

    List<CenterExcelVO> convertList02(List<CenterDO> list);

    List<CenterSimpleRespVO> convertList03(List<CenterDO> list);

    CenterRespDTO convert01(CenterDO center);
}
